<?php 
/* HTML Title Dressed 
   -------------------
   This files controls html page titleing, also keywords and description for
   the meta heads.
*/
function wpu_title() {
	$wptitle  = wp_title("- ",FALSE); 
	$wptitle2 = wp_title(": ",FALSE); 
	$wptitle3 = wp_title("&raquo; ",FALSE); 
	$sitename = get_bloginfo('name');
	$sitedesc = get_bloginfo('description');

	if     (is_home())     { $title = $sitename ." - ".$sitedesc; }
	elseif (is_single())   { $title = $sitename .$wptitle2; }
	elseif (is_category()) { $title = $sitename .$wptitle3; }
	else                   { $title = $sitename .$wptitle;  }

	echo "<title>".$title."</title>"."\n"; 
	echo '<meta name="description" content="'.$sitename .' - '.$sitedesc.'" />'."\n";
	echo '<meta name="keywords" content="'.$sitename.','.'your,keywords,here" />'."\n";
}
wpu_title();
?>
